<%@ page import="com.hexu.event.entity.Specie" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: 86151
  Date: 2021/5/2
  Time: 21:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>种类删除</title>
</head>
<body>
<center>
    <form action="/hexu/specie/add">
        <table border="2">
            <tr>
                <td>分类</td>
                <td>操作</td>
            </tr>

            <%
                List<Specie> specieList =(List<Specie>)request.getAttribute("key");
                for(Specie specie:specieList){
            %>
            <tr>
                <td> <%=specie.getName()%> </td>
                <td>
                    <a href="/hexu/administrator/delete?specie=<%=specie.getName()%>">删除</a>
                </td>
            </tr>
            <%
                }
            %>
        </table>
    </form>

</center>
</body>
</html>
